<? include "./configs/session_check.php";
include "./configs/config.php";
$TaskID=$_SESSION['TaskID'];
?>
<table class="normal tablesorter">
						<thead>
							<tr>
								
								<th><strong>Note ID</strong></th>
								<th><strong>Note Details</strong></th>
								<th><strong>Date Added</strong></th>
								
							</tr>
						</thead>
						<tbody>
                         <?

				$note_query=mysql_query("SELECT Notes.*,Employees.LastName,Employees.FirstName_s FROM Notes,Employees WHERE Notes.TaskID='$TaskID' AND Notes.AddedBy=Employees.EmployeeID");
				while($note_data=mysql_fetch_array($note_query)){
				?>
							<tr class="odd">
								
								<td><?=$note_data['NoteID']?></td>
								<td style="min-width:645px; max-width:645px;"><strong><?=$note_data['NoteTitle']?></strong><br><?=$note_data['NoteDetails']?><br><h4 align="right"> -- <?=$note_data['FirstName_s']?> <?=$note_data['LastName']?></h4></td>
								<td><?=$note_data['DateAdded']?><br><?=$note_data['TimeAdded']?></td>
								
							</tr>
						<?
				}
						?>
						</tbody>
					</table>